#!/bin/bash

./registry-build.sh

if [ $? -ne 0 ]; then
    exit 1
fi

cd registry_docker

tDate=`date "+%Y%m%d%H%M%S"`

docker build ./ -t jibin0310/feign-registry:$tDate
#docker push jibin0310/feign-registry:$tDate